     <!-- 图片声明 -->
     <div class="imgstate"><span><img src="./imgs/banner-close-btn.png" alt="" class="dx"></span><img
             src="./imgs/2000-60-9.jpg" alt=""></div>
     <!-- 图片声明 -->
     <script src="./js/lib/jquery-1.8.3.js"></script>
     <script>
        var getCookie = function getCookie(key) {
            var arr1 = document.cookie.split('; ')
            //["user1=111asdasd", "user2=222gfhft", "user3=333wwwaa"]
            for (var i = 0; i < arr1.length; i++) {
                var arr2 = arr1[i].split('=') //['user1','111asdasd']
                if (arr2[0] === key) {
                    // 对数据进行解码并返回
                    return unescape(arr2[1])
                }
            }
            return null
        }
         function back(a){
            event.preventDefault()
                //判断是否登录成功
        if(getCookie("username")&&getCookie("loginsucess")=="true"){

                $.post('./php/chat.php',{
                    name:getCookie("username"),
                    way:'usertype'
                    },function(data){
                        if(data=='sever'){
                            window.location.href = './backstage.html';
                            return true
                        }else{
                            alert('只有商家才能访问后台中心')
                        }
                    });
        }else{
            alert('请先登录，才能访问后台中心')
        }
        }
     </script>
     <!-- 登录区 -->
     <div class="loginArea">
         <div class="main">
             <p class="logingo">欢迎木之韵商城！ &nbsp;&nbsp;&nbsp;&nbsp;请 <a href="./login.html">登录</a> &nbsp;&nbsp;&nbsp;&nbsp;<a
                     href="./account.html">免费注册</a></p>
             <ul>
                 <div>
                     <li><a href="">我的木韵</a><span></span>
                         <ul>
                             <li><a href="" onclick="back(this)">后台中心</a></li>
                             <li><a href="">售后退换</a></li>
                             <li><a href="./collect.html">收藏夹</a></li>
                             <li><a href="./accountserve.html">商家入驻</a></li>
                             <li><a href="" class="chat">交流中心</a></li>
                         </ul>
                     </li>
                 </div>
                 <div>
                     <li><a href="">企业采购</a></li>
                 </div>
                 <div>
                     <li><a href="">客户服务</a><span></span>
                         <ul>
                             <li><a href="">在线客服</a></li>
                             <li><a href="">帮助中心</a></li>
                         </ul>
                     </li>
                 </div>
                 <div>
                     <li><a href="">手机木韵</a><span></span>
                         <ul class="code2">
                             <li>
                                 <img src="./imgs/m143.jpg" alt="">
                             </li>
                             <li>
                                 <img src="./imgs/code2.png" alt="">
                             </li>
                         </ul>
                     </li>
                 </div>
             </ul>
         </div>
     </div>
     <!-- 登录区 -->
     <!-- 搜索框 -->
     <div class="rollSS">
         <div class="main">
             <a href="./index.html">
                 <img src="./imgs/head_logo.png" alt="">
             </a>
             <div class="se">
                 <form action="">
                     <span class="iconfont">&#xe60c;</span>
                     <input type="text" placeholder="活着"><button>搜索</button>
                 </form>
                 <p>
                     <i>热搜：</i>
                     <span>实木床蓓影<img src="./imgs/hot-045.gif" alt=""></span>|
                     <span>木韵购物卡<img src="./imgs/hot-045.gif" alt=""></span>|
                     <span>购物优惠卷<img src="./imgs/hot-045.gif" alt=""></span>|
                     <span>今日秒杀<img src="./imgs/hot-045.gif" alt=""></span>|
                     <b>高级搜索</b>
                 </p>
             </div>
             <a href="./car.html">
                 <div class="carShop"><span class="iconfont">&#xe63f;</span>购物车</div>
             </a>
         </div>
     </div>
     <!-- 搜索框 -->
     <!-- 滚动搜索 -->
     <div class="rollS">
         <div class="main">
             <a href="./index.html">
                 <img src="./imgs/head_logo.png" alt="">
             </a>
             <form action="">
                 <span class="iconfont">&#xe60c;</span>
                 <input type="text" placeholder="活着"><button>搜索</button>
             </form>
         </div>
     </div>
     <!-- 滚动搜索 -->